package com.atguigu.easyExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class Stu {

    //ExcelProperty里面value属性设置表头
    //ExcelProperty里面index属性 excel列对应关系
    @ExcelProperty(value = "学生编号",index = 0)
    private int sno;

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;

}
